<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>{$Think.config.SITE_NAME}-后台管理中心</title>

		<meta name="description" content="overview &amp; stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />

		<link href="__ADMIN__CSS__/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__ADMIN__CSS__/font-awesome.min.css" />

		<!--[if IE 7]>
		  <link rel="stylesheet" href="__ADMIN__CSS__/font-awesome-ie7.min.css" />
		<![endif]-->
	
		
		<link rel="stylesheet" href="__ADMIN__CSS__/ace.min.css" />
		<link rel="stylesheet" href="__ADMIN__CSS__/ace-rtl.min.css" />
		<link rel="stylesheet" href="__ADMIN__CSS__/ace-skins.min.css" />
		
		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="__ADMIN__CSS__/ace-ie.min.css" />
		<![endif]-->

		<!-- inline styles related to this page -->

		<!-- ace settings handler -->

		<script src="__ADMIN__JS__/ace-extra.min.js"></script>

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

		<!--[if lt IE 9]>
		<script src="__ADMIN__JS__/html5shiv.js"></script>
		<script src="__ADMIN__JS__/respond.min.js"></script>
		<![endif]-->
		
		{block name="css"}
			
		{/block}		
		
	</head>

	<body class="navbar-fixed">
		<div class="navbar navbar-default navbar-fixed-top" id="navbar">
			
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="{:url('Index/index')}" class="navbar-brand">
						<small>
							<!--
							<i class="icon-leaf"></i>
							-->
							{$Think.config.SITE_NAME} 后台管理
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">						

						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
							
								<span class="user-info">
									<?php echo session('user_auth.username'); ?>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								

								<li class="divider"></li>

								<li>
									<a target="_blank" href="">网站前台</a>
									<a href="">清空缓存</a>
									<a href="{:url('Index/logout')}">退出系统</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<div class="sidebar sidebar-fixed" id="sidebar">					
				
					
					{include file="public/menu" /}

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>

				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">{$breadcrumb1|default=''}</a>
							</li>
							<li class="active">{$breadcrumb2|default=''}</li>
							
						</ul><!-- .breadcrumb -->

						
					</div>

					<div class="page-content">
						
							{block name="content"}
								
							{/block}
						
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
				
				
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->
		{block name="jquery"}
		<script src="__PUBLIC__/js/jquery/jquery-2.0.3.min.js"></script>
		<script src="__PUBLIC__/js/jquery/jquery-migrate-1.2.1.min.js"></script>
		{/block}	
		<!-- <![endif]-->

		<!--[if IE]>
		<script src="__PUBLIC__/js/jquery/jquery-1.10.2.min.js"></script>
		<script src="__PUBLIC__/js/jquery/jquery-migrate-1.2.1.min.js"></script>
		<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='__ADMIN__JS__/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="__ADMIN__JS__/bootstrap.min.js"></script>
		<script src="__ADMIN__JS__/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="__ADMIN__JS__/excanvas.min.js"></script>
		<![endif]-->

		<script src="__ADMIN__JS__/ace-elements.min.js"></script>
		<script src="__ADMIN__JS__/ace.min.js"></script>

		<!-- inline scripts related to this page -->
		<script src="__PUBLIC__/js/oscshop_common.js"></script>
		{block name="javascript"}
								
		{/block}		
	</body>
</html>
